<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Spittr</title>
<link rel="stylesheet" type="text/css"
	href='<c:url value="/resource/style.css"/>'>
</head>
<body>
	<h1>Welcome to Spittr</h1>
	<a href="<c:url value="/spittles"/>">Spittles</a>
	<a href="<c:url value="/spittr/register"/>">Register</a>

	<sf:form action="${pageContext.request.contextPath }/logout"
		method="post">
		<input type="submit" value="退出">
		<input type="hidden" name="${_csrf_parameterName }"
			value="${ _csrf_token }">
	</sf:form>
</body>
</html>